package com.myk.game.gobangchess.ai.shock;

public class main6 {
    public static void main(String[] args) {
        int[][] board = {
            {0, 0, 0, 0, 0, 0, 0, 0},
            {0, 1, 0, 0, 1, 1, 0, 0},
            {0, 0, 0, 1, 0, 1, 0, 0},
            {0, 0, 0, -1, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0},
            {1, 0, 1, 0, -1, 0, -1, 0},
            {0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 1, 0, 0, 0, 0, 0}
        };
        int playerturn = 1;
        int difficulty = 1;
        long startTime1 = System.currentTimeMillis();
        int[] result = P4_Engine.p4_engine(board, playerturn,difficulty);
        System.out.println("pointset0: " + result[0]);
        System.out.println("pointset1: " + result[1]);
        long endTime1 = System.currentTimeMillis();
        long elapsedTime1 = endTime1 - startTime1;
        System.out.println("Elapsed Time in milliseconds: " + elapsedTime1);
    }
}
